{% load work_custom_filters %}  
<html xmlns="http://www.w3.org/1999/xhtml" lang="tr-tr" xml:lang="tr-tr" >
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 	
<title> {% block title %}{%endblock%}</title>

<link rel="stylesheet" type="text/css" href="/media/css/forms.css" />
<link rel="stylesheet" type="text/css" href="/media/css/base.css" />

<link rel="stylesheet" type="text/css" href="/media/css/table-orange.css" />
 

<script>function gettext(txt){ return txt}</script>
<script type="text/javascript" src="/media/js/admin/jsi18n.js"></script>
<script type="text/javascript" src="/media/js/core.js"></script>

<script type="text/javascript" src="/media/js/admin/RelatedObjectLookups.js"></script>

<script src="/media/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/media/js/datetimepicker_css.js"></script>
<script language="javascript">
function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
{
  var rv = -1; // Return value assumes failure.
  if (navigator.appName == 'Microsoft Internet Explorer')
  {
    var ua = navigator.userAgent;
    var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
    if (re.exec(ua) != null)
      rv = parseFloat( RegExp.$1 );
  }
  return rv;
}
function checkie()
{
  var msg = "You're not using Internet Explorer.";
  var ver = getInternetExplorerVersion();
 
  if ( ver > -1 )
  {
    if ( ver >= 8.0 ) 
    {  msg = "You're using a recent copy of Internet Explorer."; }
    else
    { msg = "You should upgrade your copy of Internet Explorer."; }
	 
	return true;
    
  }
  else
  {
	  return false;
  }
  
}
</script>
<script type="text/javascript">
	  $(document).ready(function(){
			$("#nav-one li").hover(
				function(){ $("ul", this).fadeIn("fast"); }, 
				function() { } 
			);
	  	if (document.all) {
				$("#nav-one li").hoverClass ("sfHover");
			}
	  });
	  
		$.fn.hoverClass = function(c) {
			return this.each(function(){
				$(this).hover( 
					function() { $(this).addClass(c);  },
					function() { $(this).removeClass(c); }
				);
			});
		};	
		  
</script>
<style type="text/css">

/* Navigation */
.nav, .nav ul { 
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav {
  font-family: Arial, Helvetica, sans-serif;
  z-index: 100;
  position: relative;
}

.nav li {
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
  list-style: none;
}
.nav li a, .nav li a:link, .nav li a:active, .nav li a:visited {
  font: 1.22em/25px Arial, Helvetica, sans-serif;
  padding: 0 9px;
}

.nav li a:hover {
 
  color: #000;	

}
#nav-one li:hover a, 
#nav-one li.sfHover a {
    
   float: left;	
 
}

.nav ul {
  list-style: none;
  margin: 0;
  width: 100px;
  position: absolute;
  top: -999em;
  left: -1px;
}
.nav li:hover ul,
.nav li.sfHover ul {
  top: 20px;
  
}
.nav ul li {
  float: none;
}
.nav ul a {
  padding-right: 20px;
  width: 80px;
  white-space: nowrap;
}
.nav ul a:hover {
  color: #000;
}
</style>


</head>
{%block script%}
{%endblock%}
<body onload="if (checkie()==false) {menuSlider.init('menu','slide');}" bgcolor="white">

  <div id="userx" align="right" style="font-size: 12px; margin-top:5px;"> 
  {% if user.username %}<a href="/accounts/profile/{{user.username}}/edit/">({{user.username}})</a>&nbsp|&nbsp<a href="/accounts/logout">Çıkış</a>{% else %}<a href="/accounts/login">Giriş Yap</a>{%endif%}
  </div>
  <hr>
<div id="container_formenu" class="containerForMenu" align="center" style="width: 60%;  margin-left: 20%; background-color: #EFEFEF;">

   	
		 <ul id="nav-one" class="nav">
		        <li><a href="/worklist/">Anasayfa</a></li> 
		        <li value="1"><a href="/worklist/isistek/olustur/">İş Oluştur</a></li> 
		        <li><a href="/worklist/islistesi/?goster=Hepsi&is_sahibi=Hepsi">İş Listesi</a></li> 
		        {% if perms.worklist.hastane_fatura %}
		        <li><a href="/worklist/hastane/fatura/">Fatura Bilgileri</a></li>
		        {% endif %}
		        <li><a href="/worklist/islistesi/rapor/olustur/">Raporlama</a></li> 
		        {% if perms.worklist.sabit_tanimlama %}
		        <li><a href="/worklist/sabitler/">Sabitler</a></li>
		        {% endif %}
		        {% if perms.worklist.kullanici_acma %}
		        <li><a href="/accounts/register/">Kullanıcı Tanımlama</a>
		        	  {% if user.is_staff %}
		        	  <ul>
							<li><a href="/admin/">Admin Konsolu</a></li>
					  </ul>
					  {% endif %}
			    </li>
		        {% endif %}
		        
		</ul>

</div>
 <img src="/media/images/yer_tutucu.gif" width="1" height="10"/>

  {%block content%}
  {%endblock%}
</body>

</html>
